/*
 * ForRentProdcutBO.java
 *
 * Created on March 28, 2007, 5:44 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package finalintex2web;

/**
 *
 * @author Matt
 */

public class ForRentProductBO extends PhysicalProductBO {
    
     
    private boolean dirty = false;
    private boolean alreadyInDB = false;
    private String frguid; //fk references physicalproductbo 
    private int timesrented; 
    private String currentRental;
    
    
    /**
     * Creates a new instance of ForRentProductBO
     */
    ForRentProductBO(String id) {
        super(id);
        super.setId(id);
            
    }

    public boolean isDirty() {
        return dirty;
    }

    public void setDirty(boolean dirty) {
        this.dirty = dirty;
    }

    public boolean isAlreadyInDB() {
        return alreadyInDB;
    }

    public void setAlreadyInDB(boolean alreadyInDB) {
        this.alreadyInDB = alreadyInDB;
    }

    public String getFrguid() {
        return frguid;
    }

    public int getTimesrented() {
        return timesrented;
    }

    public void setTimesrented(int timesrented) {
        this.timesrented = timesrented;
        this.dirty = true;
    }

    public String getCurrentRental() {
        return currentRental;
    }

    public void setCurrentRental(String currentRental) {
        this.currentRental = currentRental;
        this.dirty = true;
    }
    
}

    
   